Fix test on windows
authorAleksey Kladov <aleksey.kladov@gmail.com>
Sat, 17 Jun 2017 15:43:05 +0000 (18:43 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Sat, 17 Jun 2017 15:43:05 +0000 (18:43 +0300)
Backslashes here are escaped (\\), so [/] does not really help :(

tests/build.rs

index 8b74b807f2310c03509d9cd3e4764fc38856fa79..f2081c61fa3edb68d8d85f7eaf0800d7c129abf4 100644 (file)
@@ -3269,5 +3269,5 @@ fn no_bin_in_src_with_lib() {
 
     assert_that(p.cargo_process("build"),
                 execs().with_status(101)
-                       .with_stderr_contains(r#"[ERROR] couldn't read "src[/]bin[/]main.rs"[..]"#));
+                       .with_stderr_contains(r#"[ERROR] couldn't read "[..]main.rs"[..]"#));
 }